package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/6/4
 * @desc 内容表
 */

@Setter
@Getter
@Document
@ApiModel(value = "内容表")
public class ContentT extends BaseDocument {

    /** 专辑Id */
    @ApiModelProperty(value = "专辑Id")
    private String albumId;

    /** 内容自定义字段Id */
    @ApiModelProperty(value = "内容自定义字段Id")
    private String contentConfigId;

    /** 内容类型Id */
    @ApiModelProperty(value = "内容类型Id")
    private String contentCategoryId;

    /** 内容名称 */
    @ApiModelProperty(value = "内容名称")
    private String name;

    /** 内容 */
    @ApiModelProperty(value = "内容")
    private String content;

}
